import sys
sys.path.append('F:\\python36\\Lib\\site-packages')

import pickle

def serialize(vwObj):
    return pickle.dumps(vwObj)